#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

int main()
{
	int i = 0;
	int j = 0;
	int k = 0;

	for (i = 0; i < (14 + 1) / 2; i++)
	{
		for (k = 0; k < 17 - i; k++)
			printf("  ");
		for (j = 0; j < 2 * i + 1; j++)
			printf("* ");
		printf("\n");
	}
	for (i = (14 - 1) / 2 - 1; i >= 0; i--)
	{
		for (k = 0; k < 17 - i; k++)
			printf("  ");
		for (j = 0; j < 2 * i + 1; j++)
			printf("* ");
		printf("\n");
	}
	return 0;
}